//
//  ServiceDetailApi.m
//  classicFilms
//
//  Created by 刘继丹 on 17/4/26.
//  Copyright © 2017年 Stefan Arn. All rights reserved.
//

#import "ServiceDetailApi.h"

@implementation ServiceDetailApi

{
    NSString *_list_id;
}

-(instancetype)initWithList_id:(NSString *)list_id{
    self = [super init];
    if (self) {
        
        _list_id = list_id;
        
    }
    return self;
}

- (NSString *)requestUrl {
    return [NSString stringWithFormat:@"/craftsmans/%@", _list_id];
}

- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodGET;
}

- (Class)responseClass{
    return [ServiceDetailModel class];
}

@end
